<?php

/**
 * PHP versions 4 and 5
 * MagicPHP
 * Licensed under The Open Group Test Suite License
 * Redistributions of files must retain the above copyright notice.
 * @copyright     Copyright 2011
 * @link
 * @package       Model
 * @since         MaginPHP 1.0
 * @license
 * @desc  This is the basic setting file for the magic framework .
 */
?>
<?php
/**
 * Set Default TimeZone 
 */
date_default_timezone_set('Asia/Calcutta');
/**
 * @desc : This variable define cache unit 
 * @value : minute , second,hour,day  
 */
define('CACHE_UNIT','minute') ; 
define('CACHE_LIMIT',1); 
/**
 * @desc : This flag is used to define how your project url look like 
 * @example : if Flag = 0 => url will be http://[your domain name] /index.php/[model]/[controller]/[action] 
 * if FLAG = 1  => url will be http://[your domain name] /[model]/[controller]/[action]
 */
define("FLAG",1); 
/**
 *@desc : Define Default Model and Controller and Action 
 */
define("DEFAULT_MODEL","default"); 
define("DEFAULT_CONTROLLER","index"); 
define("DEFAULT_ACTION","index"); 
 /**
 *@desc :Site Configration 
 */
define("SITE_URL","http://magicphp.com/"); 
define("LOG_PATH",ROOT.DS."log.ini"); 
/**
 *@desc : Definie error level  
 */
define("ACL_ENABLE",true); 
error_reporting(E_ALL);
define("ACL_ID" , "role_id");
/**
 * @desc: Define Css global Array 
 */
$cssArray = array('binary.css','jquery.autocomplete.css','menu.css','validate.css');
/**
 * @desc : Define Js global Array  
 */
$jsArray = array('jquery-1.4.4.min.js','jquery-ui-1.8.9.custom.min.js','jquery.validate.pack.js','script.js','jquery.alerts.js');
?>
